
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><title>Python: module SyntaxHighlight</title>
</head><body bgcolor="#f0f0f8">

<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="heading">
<tr bgcolor="#7799ee">
<td valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial">&nbsp;<br><big><big><strong>SyntaxHighlight</strong></big></big></font></td
><td align=right valign=bottom
><font color="#ffffff" face="helvetica, arial"><a href=".">index</a><br><a href="file:/home/cgroza/Projects/gEcrit/bin/SyntaxHighlight.py">/home/cgroza/Projects/gEcrit/bin/SyntaxHighlight.py</a></font></td></tr></table>
    <p><tt>#&nbsp;-*-&nbsp;coding:&nbsp;utf-8&nbsp;-*-</tt></p>
<p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#aa55cc">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Modules</strong></big></font></td></tr>
    
<tr><td bgcolor="#aa55cc"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><table width="100%" summary="list"><tr><td width="25%" valign=top><a href="keyword.html">keyword</a><br>
</td><td width="25%" valign=top><a href="os.html">os</a><br>
</td><td width="25%" valign=top><a href="wx.html">wx</a><br>
</td><td width="25%" valign=top></td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ee77aa">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Classes</strong></big></font></td></tr>
    
<tr><td bgcolor="#ee77aa"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><dl>
<dt><font face="helvetica, arial"><a href="SyntaxHighlight.html#SyntaxColorizer">SyntaxColorizer</a>
</font></dt></dl>
 <p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#ffc8d8">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#000000" face="helvetica, arial"><a name="SyntaxColorizer">class <strong>SyntaxColorizer</strong></a></font></td></tr>
    
<tr bgcolor="#ffc8d8"><td rowspan=2><tt>&nbsp;&nbsp;&nbsp;</tt></td>
<td colspan=2><tt><a href="#SyntaxColorizer">SyntaxColorizer</a><br>
&nbsp;<br>
Sets&nbsp;up&nbsp;the&nbsp;lexer&nbsp;for&nbsp;syntax&nbsp;highlighting.<br>&nbsp;</tt></td></tr>
<tr><td>&nbsp;</td>
<td width="100%">Methods defined here:<br>
<dl><dt><a name="SyntaxColorizer-ActivateSyntaxHighLight"><strong>ActivateSyntaxHighLight</strong></a>(self, text_id)</dt><dd><tt>ActivateSyntaxHighLight<br>
&nbsp;<br>
Initializes&nbsp;the&nbsp;lexer&nbsp;and&nbsp;sets&nbsp;the&nbsp;color&nbsp;styles.</tt></dd></dl>

<dl><dt><a name="SyntaxColorizer-ChangeColorFile"><strong>ChangeColorFile</strong></a>(self, item, newcolor)</dt><dd><tt>ChangeColorFile<br>
&nbsp;<br>
Modifies&nbsp;the&nbsp;value&nbsp;of&nbsp;the&nbsp;suplied&nbsp;argument&nbsp;item<br>
with&nbsp;the&nbsp;suplied&nbsp;argument&nbsp;newcolor.<br>
Writes&nbsp;changes&nbsp;to&nbsp;file.</tt></dd></dl>

<dl><dt><a name="SyntaxColorizer-ReadColorFile"><strong>ReadColorFile</strong></a>(self, color)</dt><dd><tt>ReadColorFile<br>
&nbsp;<br>
Reads&nbsp;the&nbsp;configuration&nbsp;file&nbsp;and&nbsp;generates<br>
a&nbsp;color&nbsp;dictionary&nbsp;for&nbsp;the&nbsp;lexer.</tt></dd></dl>

<dl><dt><a name="SyntaxColorizer-__init__"><strong>__init__</strong></a>(self)</dt><dd><tt>__init__<br>
&nbsp;<br>
Generates&nbsp;a&nbsp;default&nbsp;color&nbsp;dictionary.</tt></dd></dl>

</td></tr></table></td></tr></table><p>
<table width="100%" cellspacing=0 cellpadding=2 border=0 summary="section">
<tr bgcolor="#55aa55">
<td colspan=3 valign=bottom>&nbsp;<br>
<font color="#ffffff" face="helvetica, arial"><big><strong>Data</strong></big></font></td></tr>
    
<tr><td bgcolor="#55aa55"><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt></td><td>&nbsp;</td>
<td width="100%"><strong>SyntCol</strong> = &lt;SyntaxHighlight.SyntaxColorizer instance&gt;</td></tr></table>
</body></html>